/**
 * 
 */
package org.gigi.core.web;

import org.gigi.core.Page;

/**
 * 表格的Reponse返回值
 *
 * @author Eugene Wang 2011-6-1
 * @see
 */
public class GridResponse<T> extends ListResponse<T> {
	private static final long serialVersionUID = 1793492048818085114L;

	private long totalCount;

	public GridResponse(){
		super();
	}

	public GridResponse(Page<T> page) {
		super();
		setData(page.getData());
		setTotalCount(page.getTotalCount());
	}

	public long getTotalCount() {
		return totalCount;
	}
	public void setTotalCount(long totalCount) {
		this.totalCount = totalCount;
	}
}
